isCOBOL DatabaseBridge : EDBI Routines : EDBI Routines for DBMaker
EDBI Routines for DBMaker
Data mapping (any COMP type could be used, mapping is done according to the digits):
PIC X(n)
VARCHAR(n)
PIC 9(1-4)
SMALLINT
PIC 9(5-9)
INT
PIC 9(>9)
BIGINT
PIC 9(n)V9(m)
DECIMAL(n+m,m)
PIC S9(n)V9(m)
DECIMAL(n+m,m)
Peculiar jdbc settings:
iscobol.easydb.commit_count=1
This is set in conjunction with iscobol.jdbc.autocommit=false (default) in order to update the table at each WRITE, REWRITE and DELETE statement. Otherwise updates would be made only at CLOSE.
iscobol.jdbc.on_stop_run=commit
Due to the above setting, it’s good practice to instruct the runtime to commit all modifications before exiting.